package com.hadwinling.mapper;

import com.hadwinling.entity.Burn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname BurnMapper
 * @Description TODO
 * @Date 2021/7/3 15:49
 * @Created by ${hadwinling}
 */
@Mapper
public interface BurnMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Burn record);

    int insertSelective(Burn record);

    Burn selectByPrimaryKey(Integer id);

    List<Burn> selectAllByBurnidBetweenBurnid(@Param("minBurnid")Integer minBurnid, @Param("maxBurnid")Integer maxBurnid);

    int updateByPrimaryKeySelective(Burn record);

    int updateByPrimaryKey(Burn record);
}